package simplefactory.controller;

import simplefactory.factory.AwardFactory;
import simplefactory.vo.AwardInput;
import simplefactory.vo.Result;

/**
 * @Author liangbaigao
 * @Date 2023/9/25 12:58
 */
public class Client2 {

    public Result sendAward(AwardInput input){
        // 拿到工厂引用
        AwardFactory awardFactory = new AwardFactory();
        // 发放奖品
        return awardFactory.sendAward(input);
    }

}
